package yzserver.sx4a.form;


import yzserver.sx4a.domain.DistrictDomain;

/**
 * Created with IntelliJ IDEA.
 * User: andrew
 * Date: 14-8-15
 * Time: 上午10:27
 * To change this template use File | Settings | File Templates.
 */
public class District {
    private String districtid; //	地域id
    private String districtname;//	地域名称
    private String districtparent;    //	父地域id
    private String displayname;    //	地域全名
    private String opuser;//	操作人信息
    private String startdate;    //	生效时间yyyy-MM-dd 如2010-03-08
    private String enddate;    //		失效时间yyyy-MM-dd 如2010-03-08
    private String updatedate;//更新时间yyyy-MM-dd HH:mm:ss，如2010-03-08
    private String enable;//	状态（0是有效，1是失效）


    public District() {

    }

    public District(DistrictDomain domain) {
        this.districtid = domain.getDISTRICTID();
        this.districtname = domain.getDISTRICTNAME();
        this.districtparent = domain.getDISTRICTPARENT();
        this.displayname = domain.getDISPLAYNAME();
        this.opuser = domain.getOPUSER();
        this.startdate = domain.getSTARTDATE();
        this.enddate = domain.getENDDATE();
        this.updatedate = domain.getUPDATEDATE();
        this.enable = domain.getENABLE();

    }
    public String getDistrictid() {
        return districtid;
    }

    public void setDistrictid(String districtid) {
        this.districtid = districtid;
    }

    public String getDistrictname() {
        return districtname;
    }

    public void setDistrictname(String districtname) {
        this.districtname = districtname;
    }

    public String getDistrictparent() {
        return districtparent;
    }

    public void setDistrictparent(String districtparent) {
        this.districtparent = districtparent;
    }

    public String getDisplayname() {
        return displayname;
    }

    public void setDisplayname(String displayname) {
        this.displayname = displayname;
    }

    public String getOpuser() {
        return opuser;
    }

    public void setOpuser(String opuser) {
        this.opuser = opuser;
    }

    public String getStartdate() {
        return startdate;
    }

    public void setStartdate(String startdate) {
        this.startdate = startdate;
    }

    public String getEnddate() {
        return enddate;
    }

    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public String getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(String updatedate) {
        this.updatedate = updatedate;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }
}
